package chances.epg.entity.user;

import java.util.Date;

/**
 * 历史记录
 * @author libf@chances.com.cn
 * Copyright Shanghai Chances.
 */
public class UserHistory {
	private String userId;
	private String category;
	private String contentId;
	private String contentType;
	private String contentName;
	private String contentPoster;
	private String path;
	
	private String programId;
	private int episodeIndex;
	private long elapsedTime;
	
	private Date updateTime;
	
	public UserHistory() {
		this.updateTime = new Date();
		this.episodeIndex = 0;
		this.elapsedTime = 0;
	}
	
	public String getUserId() {
		return userId;
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}
	public String getContentId() {
		return contentId;
	}
	public void setContentId(String contentId) {
		this.contentId = contentId;
	}
	public String getContentType() {
		return contentType;
	}
	public void setContentType(String contentType) {
		this.contentType = contentType;
	}
	public String getContentName() {
		return contentName;
	}
	public void setContentName(String contentName) {
		this.contentName = contentName;
	}
	
	public String getProgramId() {
		return programId;
	}
	public void setProgramId(String programId) {
		this.programId = programId;
	}
	public int getEpisodeIndex() {
		return episodeIndex;
	}
	public void setEpisodeIndex(int episodeIndex) {
		this.episodeIndex = episodeIndex;
	}
	public long getElapsedTime() {
		return elapsedTime;
	}
	public void setElapsedTime(long elapsedTime) {
		this.elapsedTime = elapsedTime;
	}
	public String getPath() {
		return path;
	}
	public void setPath(String path) {
		this.path = path;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public String getContentPoster() {
		return contentPoster;
	}

	public void setContentPoster(String contentPoster) {
		this.contentPoster = contentPoster;
	}

	public String getCategory() {
		return category;
	}

	public void setCategory(String category) {
		this.category = category;
	}
}
